import { BaseRequest } from "../http"


export const fecthArticleList = (data = {pageNum:0}) =>{ // 获取文章列表 0 表示不分页
  return BaseRequest.post({
    url: '/article/list',
    data
  })
}

export const fecthArticleDetail = (id) =>{ // 获取文章详情
  return BaseRequest.get({
    url: `/article/detail/${id}`,
  })
}

